OpenPlant CONNECT Edition Readme

Uninstalling OpenPlant Support Engineering in Silent Mode

If you have the Setup.exe of OpenPlant Support Engineering , simply use the -Uninstall -Quiet commands to uninstall OpenPlant Support Engineering . For example,

C:\BentleyDownloads\OpenPlant Support Engineering \OpenPlant Support Engineering x64.exe -Uninstall -Quiet

If you don't have the Setup.exe, then use the following steps:
  1. In Windows PowerShell, get the location of bootstrapper Setup.exe using the following command:

    gci "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | foreach { gp $_.PSPath } | ? { $_ -match "OpenPlant Support Engineering Update 11.1" } | select UninstallString

  2. You will get the path, something like this:

    UninstallString
    ---------------
    "C:\ProgramData\Package Cache\{0c77a938-fe26-4e0c-8bc7-3f2064729d40}\Setup_OpenPlant Support Engineering 
    		  x64.exe"  /uninstall
  3. Use the above path in the command to uninstall the product silently:

    Start-Process "C:\ProgramData\Package Cache\{0c77a938-fe26-4e0c-8bc7-3f2064729d40}\Setup_OpenPlant Support Engineering x64.exe" -ArgumentList "-Uninstall -Quiet" -Wait

Uninstalling Post-Install Components

To uninstall the post-install components such as Bentley DGN Index Service, Bentley DGN Preview Handler, and others, you will need their msiexec.exe and product GUID.
  1. Get the product GUID using one of the following commands:

    gci "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | foreach { gp $_.PSPath } | ? { $_ -match "ProductName" } | select UninstallString

    or

    gci "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" | foreach { gp $_.PSPath } | ? { $_ -match "ProductName" } | select UninstallString

    Where, ProductName is the name of post-install component, such as Bentley DGN Index Service.

    You will get product GUID, something like this:
    UninstallString
    ---------------
    MsiExec.exe /X{2E873893-A883-4C06-8308-7B491D58F3D6}
  2. Use the string from the above step in the following command:

    Start-Process "MsiExec.exe" -ArgumentList "/X{2E873893-A883-4C06-8308-7B491D58F3D6} /quiet" -Wait